package com.qipa.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.qipa.entity.ChatKeywords;
import com.qipa.model.ChatKeywordsModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ChatKeywords 表数据库控制层接口
 */
@Mapper
public interface ChatKeywordsMapper extends AutoMapper<ChatKeywords> {


    List<ChatKeywordsModel> getPage(Page<ChatKeywordsModel> page, ChatKeywordsModel params);

    /**
     * 联表集合
     *
     * @param params
     * @return
     */
    List<ChatKeywordsModel> getJoinList(ChatKeywordsModel params);


    /**
     * 单表集合
     *
     * @param params
     * @return
     */
    List<ChatKeywordsModel> getSimpleList(ChatKeywordsModel params);


}